﻿body {
    //background-image: url(images/photography.png);
}

@box-shadow: rgba(0, 0, 0, 0.3);
@border-radius: 4px;
@font-fam: "open_sans","Segoe UI", Verdana, Tahoma, Arial;
@font-caprion: "open_sans","Segoe UI", Verdana, Tahoma, Arial;
@white-color: #fff;
@shadow-image: 0px 6px 15px rgb(143, 143, 143);
@def-transition: .1s all ease-in-out;
//@violet-color: #445;

@deepblue: #2D373F;
@blue: #475F77;
@lightblue: #428bca;
@grey: #DCDDD8;
@red: #D74B4B;

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: @font-fam;
}

html {
    background-color: @white-color;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #444;
    font-weight: 300;
    font-family: "open_sans","Segoe UI", Verdana, Tahoma, Arial;
    text-align: left;
}

a img {
    border: none;
}

#vk_comments,
#vk_comments iframe {
    margin-left: 8px;
    width: 80% !important;
}

.arror-s-r, .arror--l, .arror--r, .arror-s-l {
    background: url(images/sprites.png) no-repeat;
}

.arror-s-r {
    background-position: -162px -113px;
    width: 130px;
    height: 60px;
}

.arror--l {
    background-position: -8px -113px;
    width: 130px;
    height: 60px;
}

.arror--r {
    background-position: -162px -22px;
    width: 130px;
    height: 60px;
}

.arror-s-l {
    background-position: -13px -20px;
    width: 130px;
    height: 60px;
}

.p-arrow {
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotateZ(10deg);
    -moz-transform: rotateZ(10deg);
    -ms-transform: rotateZ(10deg);
    -o-transform: rotateZ(10deg);
    transform: rotateZ(10deg);
    height: 40px;
}

.p-arrow:hover {
    cursor: pointer;
    -webkit-transform: rotateZ(0);
    -moz-transform: rotateZ(0);
    -ms-transform: rotateZ(0);
    -o-transform: rotateZ(0);
    transform: rotateZ(0);
    -webkit-transition: @def-transition;
    -moz-transition: @def-transition;
    -ms-transition: @def-transition;
    -o-transition: @def-transition;
    transition: @def-transition;
}

.field-validation-error {
    color: @red;
}

/* Main - menu */
.header-row {
    display: block;
    background-color: #222;
}

.header {
    position: relative;
    z-index: 999;
    height: 66px;
    width: 100%;
    font-size: 13px;
}

.main-menu {
    display: block;
    margin: 0;
    padding: 0;
}

.main-menu-active-link {
    background-color: @deepblue;
}

nav .main-menu li {
    position: relative;
    display: inline-block;
    float: left;
    padding: 0;
    height: 100%;
    color: #555555;
    font-weight: bold;
    font-size: 13px;
    line-height: 66px;
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

nav .main-menu li:hover {
    -moz-transition: @def-transition;
    -o-transition: @def-transition;
    -webkit-transition: @def-transition;
    transition: @def-transition;
    background-color: @blue;
}

nav .main-menu li a {
    display: block;
    height: 100%;
    padding: 0 15px;
    color: #f7f8fa;
    font-weight: 400;
    letter-spacing: 0.08em;
    white-space: nowrap;
    -ms-word-wrap: nowrap;
    word-wrap: nowrap;
    text-decoration: none;
}

nav .logo {
    display: block;
    width: 220px;
    height: 66px;
    float: left;
    margin: 0;
    font-size: 24px;
    text-decoration: none;
    line-height: 66px;
    color: #DEE3F5;
}

nav .logo img {
    position: relative;
    height: 55px;
    top: -5px;
}


.logo-image {
    display: inline-block;
    height: 55px;
    width: 163px;
    background-image: url("../../Content/images/logos-fff.png");
    background-position: center;
    background-repeat: no-repeat;
    -ms-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

/* Photos */
.photo-wall {
    margin-top: 20px;
    padding: 40px 0px 20px 0px;
    background-color: #f7f7f7;
    -moz-box-shadow: 0px 2px 2px @box-shadow;
    -webkit-box-shadow: 0px 2px 2px @box-shadow;
    box-shadow: 0px 2px 2px @box-shadow;
}

.photo {
    width: 100%;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: @border-radius;
    -webkit-border-radius: @border-radius;
    -ms-border-radius: @border-radius;
    border-radius: @border-radius;
}

.photo-info {
    -webkit-font-smoothing: antialiased;
    //position: absolute;
    /*top: 0px;
    left: 0px;
    z-index: 1;*/
    display: inline-block;
    width: 100%;
    height: 47px;
    background-color: @deepblue;
    color: #f7f8fa;
    text-transform: uppercase;
    font-size: 24px;
    font-family: @font-caprion;
    line-height: 47px;
    border-bottom: 1px solid #fff;
}

.photo-info-description {
    -webkit-font-smoothing: antialiased;
    //position: absolute;
    /*top: 0px;
    left: 0px;
    z-index: 1;*/
    display: inline-block;
    width: 100%;
    background-color: @deepblue;
    color: #f7f8fa;
    font-size: 1em;
    border-bottom: 1px solid #fff;
    word-spacing: 2px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.photo-info-description p {
    margin: 5px 8px 5px 8px;
}

.photo-info-description input {
    width: 100%;
    max-width: 100%;
}


.photo-info-b {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    width: 100%;
    height: 80px;
    line-height: 80px;
    font-family: "Segoe UI", Verdana, Tahoma, Arial !important;
    color: #f7f8fa;
    font-size: 44px;
    background-color: @deepblue;
}

////

.shadow {
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    -ms-box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
}


#photos-flow {
    margin: 20px 0;
}

.timer {
    color: #ff0000;
}

.vk_scribe {
    width: 275px !important;
}

.white-color {
    color: @white-color !important;
}

.image {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

.image-g {
    margin: 0 auto;
    max-width: 100%;
}

.image-row {
    margin-bottom: 20px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.image-row-inner {
    margin-bottom: 20px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.f-image-albums {
    list-style: none;
    margin: 0 auto;
    overflow: hidden;
    padding: 1em 0;
}

.f-image-album-block {
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 5px;
    vertical-align: top;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.f-image-album-block-active {
    -webkit-box-shadow: @shadow-image;
    -moz-box-shadow: @shadow-image;
    box-shadow: @shadow-image;
    -moz-transition: @def-transition;
    -o-transition: @def-transition;
    -webkit-transition: @def-transition;
    transition: @def-transition;
    cursor: pointer;
}

.f-image-album-block:hover {
    -webkit-box-shadow: @shadow-image;
    -moz-box-shadow: @shadow-image;
    box-shadow: @shadow-image;
    -moz-transition: @def-transition;
    -o-transition: @def-transition;
    -webkit-transition: @def-transition;
    transition: @def-transition;
    cursor: pointer;
}

.image-albums {
    list-style: none;
    max-width: 1008px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1em 0;
}

.image-album-block {
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 10px;
    vertical-align: top;
    width: 280px;
    height: 280px;
    border-radius: 4px;
    overflow: hidden;
}

.image-album-block:hover {
    cursor: pointer;
    -webkit-box-shadow: @shadow-image;
    -moz-box-shadow: @shadow-image;
    box-shadow: @shadow-image;
    -moz-transition: @def-transition;
    -o-transition: @def-transition;
    -webkit-transition: @def-transition;
    transition: @def-transition;
}

.image-album-block:hover .album-info {
    opacity: 0.5;
}

.image-album {
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    background: url(images/photo.png) center no-repeat;
}

.cover-image {
    -ms-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    overflow: hidden;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: relative;
}



section.countdown > div {
    display: inline-block;
    margin: 0 4px;
}

section.countdown > div > div {
    background: white;
    padding: 8px;
    font-size: 1.2em;
}

section.countdown {
    padding: 12px;
    text-align: center;
}

.b {
    font-weight: bold;
}

.album-menu {
    -ms-border-radius: 3px;
    border-radius: 3px;
    width: 170px;
    max-width: 100%;
    text-align: left;
}

.album-menu > li {
    display: block;
    padding: .5em;
    margin: .3em;
    -ms-border-radius: 3px;
    border-radius: 3px;
    border-bottom: 1px solid #ddd;
}

.album-menu > li:last-child {
    border-bottom: none;
}

.album-menu > li:hover {
    background-color: @lightblue;
    font-weight: bold;
    -webkit-transition: @def-transition;
    -moz-transition: @def-transition;
    -ms-transition: @def-transition;
    -o-transition: @def-transition;
    transition: @def-transition;
    cursor: pointer;
}

.album-menu > li > a {
    text-decoration: none;
    color: @deepblue;
}

.left {
    left: 0;
}

.right {
    right: 0;
}

.shadow-control {
    position: fixed;
    top: 0;
    height: 100%;
    width: 200px;
    background-color: rgba(0,0,0,.1);
    z-index: 1;
}

.shadow-control:hover {
    background-color: rgba(0,0,0,.3);
    cursor: pointer;
}

//treee

section.tree {
    height: 250px;
}

section div.tree {
    height: 250px;
}

@background_color: #ddd;
@tree_size: 45px;
@branch_thickness: 10px;
@branch_spacing: 20px;
@branches: 7;

.tree {
    position: relative;
    padding: @tree_size;
}

.branch {
    width: 0;
    height: 0;
    border-bottom: 40.00002px solid green;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tree .branch:nth-child(0) {
    top: 0px;
    border-left: 0px solid transparent;
    border-right: 0px solid transparent;
}

.tree .branch:nth-child(1) {
    top: -20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.tree .branch:nth-child(2) {
    top: -40px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}

.tree .branch:nth-child(3) {
    top: -60px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.tree .branch:nth-child(4) {
    top: -80px;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

.tree .branch:nth-child(5) {
    top: -100px;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
}

.tree .branch:nth-child(6) {
    top: -120px;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
}

.tree .branch:nth-child(7) {
    top: -140px;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
}

.trunk {
    border: 0;
    border-left: 0 !important;
    border-right: 0 !important;
    background-color: brown;
    width: @tree_size / 4;
    height: @tree_size;
    margin: 0 auto;
    z-index: 0;
}

///

.left-album-menu {
    vertical-align: top;
    width: 200px;
}

.album-info {
    position: absolute;
    width: 100%;
    background-color: rgba(90, 90, 112,0.4);
    text-align: center;
    bottom: 0;
    z-index: 1;
    height: 35px;
    line-height: 35px;
    color: #fff;
    -webkit-text-shadow: 0px 0px 1px #666;
    text-shadow: 0px 0px 1px #666;
    -webkit-font-smoothing: antialiased;
}


#scrollup {
    position: fixed; /* фиксированная позиция */
    opacity: 0.5; /* прозрачность */
    padding: 15px 10px 10px; /* отступы */
    background: #aaa;
    border-radius: 5px; /* скругление углов */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    left: 10px; /* отступ слева */
    bottom: 10px; /* отступ снизу */
    display: none; /* спрятать блок */
    cursor: pointer;
}

#photos-loader {
    /*background-color: #414152;*/
    /*border-radius: 4px;*/
    height: 50px;
    width: 100%;
    display: none;
}

.btn-landing {
    background: #006e2e; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url();
    background: -moz-linear-gradient(top, #006e2e 0%, #006e2e 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#006e2e), color-stop(100%,#006e2e)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #006e2e 0%,#006e2e 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #006e2e 0%,#006e2e 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #006e2e 0%,#006e2e 100%); /* IE10+ */
    background: linear-gradient(to bottom, #006e2e 0%,#006e2e 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006e2e', endColorstr='#006e2e',GradientType=0 ); /* IE6-8 */
}

.nav-arrow {
    position: absolute;
    font-size: 40px;
    color: @deepblue;
    background-color: #fff;
    border-radius: 4px;
    text-align: center;
    vertical-align: middle;
    line-height: 35px;
    width: 200px;
    cursor: pointer;
    height: 100%;
}

.nav-arrow:hover {
    background-color: #edeff7;
}

.arror-action {
    margin-top: 300px;
}

.money {
    width: 523px !important;
}

.button {
    -webkit-user-select: none;
    background-color: rgb(255, 255, 255);
    background-image: none;
    border-bottom-color: rgb(204, 204, 204);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0px;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(204, 204, 204);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: rgb(204, 204, 204);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: rgb(204, 204, 204);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-top-style: solid;
    border-top-width: 1px;
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    height: 25px;
    line-height: 15px;
    margin-bottom: 0px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    text-align: center;
    text-decoration: none solid rgb(51, 51, 51);
    vertical-align: middle;
    white-space: nowrap;
    width: 25px;
}


.about-block {
    padding: 20px;
    display: block;
    font-size: 1.2em;
    overflow: hidden;
    margin: 20px 0;
    .shadow-block;
}

.dropdown-menu > li {
    display: block !important;
    width: 100% !important;
    text-align: left;
}

.dropdown-menu > li > a {
    color: #222 !important;
    display: block !important;
    height: 30px;
    margin: 2px;
}

/*Start Post blog */

.blog-link {
    color: @lightblue;
}

.shadow-block {
    background-color: #f5f5f5;
    border-radius: 3px;
    border: 1px solid #eee;
    box-shadow: rgba(68,68,65,0.3) 0 2px 1px;
}

.post-b {
    display: block;
    overflow: hidden;
    margin: 20px 0;
    .shadow-block;
}

.post-a {
    display: block;
    background-color: #fff;
    padding: 0px 40px;
    border-radius: 3px;
    font-size: 16px;
    border: 1px solid #eee;
    -webkit-font-smoothing: antialiased;
    -webkit-text-shadow: rgba(0,0,0,.01) 0 0 1px;
    text-shadow: rgba(0,0,0,.01) 0 0 1px;
    box-shadow: 0px 5px 10px #ddd;
}

.post-a img {
    border-radius: 3px;
    margin: 20px 0;
    max-width: 100%;
}

.post-a h2 {
    padding: 10px 0;
    margin: 10px 0;
}

.post-h {
    display: block;
}

.post-date {
    display: block;
}

.post-c {
    display: block;
}

.post-comments {
    display: block;
    background-color: #fff;
    padding: 35px 0;
}

.post-paging {
    display: block;
}

.post-content {
    color: #fff;
    padding: 0 0 0 42px;
    height: 80px;
    line-height: 90px;
}

.relative {
    position: relative;
}

/*END Post blog */

.block-i {
    text-align: justify;
    background-position: center;
    background-repeat: no-repeat;
    -ms-background-size: cover;
    background-size: cover;
}

.block-info {
    border-radius: 3px;
    background-size: cover;
    color: #000 !important;
    .shadow-block;
}

.views-photo {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.8em;
}

.fullscreen-block {
    background-color: #000;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    z-index: 9999;
    overflow: hidden;
}

.image-fullscreen {
    margin: 0 auto;
    height: 100%;
}

//////////////////////////////////////

@media (min-width: 1600px) {
    .container {
        width: 1300px;
    }
}

@media screen and (max-width: 1000px) {
    .container {
        width: 90%;
    }

    iframe {
        margin: 2px 0 !important;
        height: auto !important;
        max-width: 500px !important;
    }

    .image-album-block {
        width: 300px;
        height: 300px;
    }

    .left-album-menu {
        display: none;
    }
}

@media screen and (max-width: 860px) {
    .container {
        width: 90%;
    }

    nav .logo {
        display: none;
    }
}

@media screen and (max-width: 730px) {
    .post-a iframe {
        margin: 2px 0 !important;
        height: auto !important;
        max-width: 600px !important;
    }

    .keyboard-nav-description {
        display: none;
    }

    .container {
        padding-right: 2px;
        padding-left: 2px;
    }

    .arror-action {
        margin-top: 200px;
    }

    .left-album-menu {
        display: none;
    }

    .image-album-block {
        width: 500px;
        height: 500px;
    }

    .main-menu > li {
        display: block;
        font-weight: bold;
        margin-right: 5px;
        color: #555555;
        width: 100%;
        padding: 5px 10px;
        text-decoration: none;
        border: 1px solid #fff;
        background-color: #808080;
        border-radius: 3px;
        margin-bottom: 2px;
    }

    .main-menu > li:hover {
        background-color: @blue;
    }

    .main-menu > li > a {
        text-decoration: none;
        font-size: 24px;
    }
}

@media screen and (max-width: 560px) {

    #vk_like {
        display: none;
    }

    .post-a {
        padding: 0 5px;
    }

    .post-b {
        margin: 5px 0;
    }

    .post-a img {
        margin: 2px 0;
        max-width: 100%;
    }

    .post-a iframe {
        margin: 2px 0 !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .post-content {
        padding: 0 0 0 2px;
    }

    .post-d {
        display: none;
    }

    .blog-link {
        font-size: 14px;
    }

    .keyboard-nav-description {
        display: none;
    }

    .money {
        display: none;
    }

    #vk_comments,
    #vk_comments iframe {
        margin-left: 8px;
        width: 90% !important;
    }

    .nav-arrow {
        display: none;
    }

    .arror-action {
        display: none;
    }

    #photos-loader {
        background: none;
    }

    .container {
        padding-right: 2px;
        padding-left: 2px;
    }

    .left-album-menu {
        display: none;
    }

    .image-album-block {
        max-width: 200px;
        max-height: 200px;
    }

    .photo-info {
        font-size: 16px;
        height: 30px;
        line-height: 30px;
    }
}
